home *** CD-ROM | disk | FTP | other *** search
/ Champak 49 / Volume 49 - JOGO DISK .iso / Games / grabthegrub.swf / scripts / DefineSprite_328 / frame_3 / DoAction.as
Text File  |  2007-10-01  |  465b  |  19 lines

  1. _parent.lsl.instructionsButton._visible = false;
  2. msgText.text = "level complete!";
  3. gotoLevel.text = "go on to level " + _parent.round;
  4. mBtn.onRollOver = function()
  5. {
  6.    this.nextFrame();
  7. };
  8. mBtn.onRollOut = mBtn.onReleaseOutside = function()
  9. {
  10.    this.prevFrame();
  11. };
  12. mBtn.onRelease = function()
  13. {
  14.    this._parent._parent.initRound(this._parent._parent.round);
  15.    this._parent.gotoAndStop("off");
  16. };
  17. _parent.stopSounds();
  18. _parent.playGoodSound();
  19.